package command;

/**
 * 调用者类实现
 **/
public class Invoker {

	private ICommand command;

	public Invoker(ICommand command) {
		this.command = command;
	}

	public void invoke() {
		this.command.execute();
	}
}
